package com.example.pojo;

public class News {
    private int newsId;
    private String newsTitle;
    private String newsType;
    private String newsContent;
    private String newsImgs;
    private String publishDate;
    private String newsAuthor;
    private int newsState;

    public News(int newsId, String newsType, String newsTitle, String newsContent, String newsImgs, String newsAuthor, String publishDate, int newsState) {
        this.newsId = newsId;
        this.newsTitle = newsTitle;
        this.newsType = newsType;
        this.newsContent = newsContent;
        this.newsImgs = newsImgs;
        this.publishDate = publishDate;
        this.newsAuthor = newsAuthor;
        this.newsState = newsState;
    }
    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsImgs() {
        return newsImgs;
    }

    public void setNewsImgs(String newsImgs) {
        this.newsImgs = newsImgs;
    }

    public String getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate;
    }

    public String getNewsAuthor() {
        return newsAuthor;
    }

    public void setNewsAuthor(String newsAuthor) {
        this.newsAuthor = newsAuthor;
    }

    public int getNewsState() {
        return newsState;
    }

    public void setNewsState(int newsState) {
        this.newsState = newsState;
    }
}
